// pages/index/photoprint/certificate.js
Page({

  data: {  goods_id:'',near_id:''

  },

  
  onLoad: function (options) {
    if(options.goods_id){
      this.setData({
        goods_id:options.goods_id,
        near_id:options.near_id
      })
    }
  },

  
  onShow: function () {

  },
  nav1cun(){
    wx.navigateTo({
      url:"/pages/photoguifan/photoguifan?type=1"+"&near_id="+this.data.near_id+'&goods_id='+this.data.goods_id
    })
  },
  nav2cun(){
    wx.navigateTo({
      url:"/pages/photoguifan/photoguifan?type=2"+"&near_id="+this.data.near_id+'&goods_id='+this.data.goods_id
    })
  },
  navsmall1cun(){
    wx.navigateTo({
      url:"/pages/photoguifan/photoguifan?type=3"+"&near_id="+this.data.near_id+'&goods_id='+this.data.goods_id
    })
  },
  navsmall2cun(){
    wx.navigateTo({
      url:"/pages/photoguifan/photoguifan?type=5"+"&near_id="+this.data.near_id+'&goods_id='+this.data.goods_id
    })
  },
  navbig1cun(){
    wx.navigateTo({
      url:"/pages/photoguifan/photoguifan?type=4"+"&near_id="+this.data.near_id+'&goods_id='+this.data.goods_id
    })
  },
  nav3cun(){
    wx.navigateTo({
      url:"/pages/photoguifan/photoguifan?type=7"+"&near_id="+this.data.near_id+'&goods_id='+this.data.goods_id
    })
  },
})